package year_mouth_day;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import java.util.Scanner;

public class day_month {
    public static void main(String[] args) throws ParseException {
        //获得年月日
        /*Calendar a=Calendar.getInstance();
        a.set(Calendar.YEAR,2005);
        a.set(Calendar.MONTH,0);
        a.set(Calendar.DAY_OF_MONTH,31);
        System.out.println(a.get(Calendar.YEAR)+" "+(a.get(Calendar.MONTH)+1)+" "+a.get(Calendar.DAY_OF_MONTH));*/








    }



}
